﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CPhoneRC
{
    public partial class AddPhone : Form
    {
        public static CompreForm bf;
        public AddPhone(CompreForm f)
        {
            InitializeComponent();
            bf = f;
        }

        private void label7_Click(object sender, EventArgs e)
        {

        }

        private void AddPhone_Load(object sender, EventArgs e)
        {
            this.timer1.Start();

            label2.Text = bf.dataGridView1.SelectedCells[1].Value.ToString();


        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            label14.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
        }

        private void button2_Click(object sender, EventArgs e)
        {

        }
    }
}
